]> dgit.raspbian.org Git - gnome-shell.git/commit
extensions-app: Use one-shot idle/timeout functions
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 31 Oct 2025 17:13:54 +0000 (18:13 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 29 Jan 2026 15:16:05 +0000 (15:16 +0000)
commit6f62a116818d051c39aac61a6c59fbdf91aefeae
treedb3cefae783651178aaa313d59f4b27a69454d92
parent1b1d22b5da2aea45f3125c91b72fc636a736abf1
extensions-app: Use one-shot idle/timeout functions

gjs now provides overrides for GLib's one-shot idle/timeout
functions, so use them to save a bit of code and clearly
indicate that a callback is only invoked once.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3947>
subprojects/extensions-app/js/extensionManager.js